package com.jt.controller;

import com.jt.pojo.ItemParam;

import com.jt.service.ItemParamService;
import com.jt.vo.EasyUITable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("item/param/")
public class ItemParamController {
    @Autowired
    ItemParamService itemParamService;

    @RequestMapping("list")
    public EasyUITable<ItemParam> getItemParam(Integer page, Integer rows){
        return itemParamService.getItemParamList(page,rows);
    }
}
